package edu.sctu.practice.class01.huangtianlin.text8;

/**
 * Created by Administrator on 2015/10/21.
 */
public class Truck extends Vehicles{

    float load;

    public Truck(String brand, String color,float load) {
        super(brand, color);

        this.load = load;
    }

    public void showTruck(){


        System.out.println(brand+color+load);

    }

}
